package com.crs.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.crs.bean.Type;
import com.crs.dao.ITypeDao;
import com.crs.service.ITypeService;
import com.crs.util.Page;

@Service
public class TypeServiceImpl implements ITypeService{

	@Autowired
	ITypeDao dao;
	
	public List<Type> selectTypeAll() {
		return dao.selectTypeAll();
	}

	public List<Type> selectType(String checktext, String plate_number) {
		return dao.selectType(checktext,plate_number);
	}

	public List<Type> getType(Type type, Page page) {
		return dao.getType(type,page);
	}

	public int getCount(Type type) {
		return dao.getCount(type);
	}

}
